package exception;

import java.awt.*;
import java.io.IOException;

public class ThrowsDemo2 {
    public void dosome() throws IOException, AWTException {
    }


}

class SubClass extends ThrowsDemo2 {
    public void dosome() throws IOException {
    }

    public void dosome1() throws AWTException {
    }
    public void dosome2() throws Exception {
    }
}
